wayland: Sync transient-for on xdg-surface show as well...
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 21 Nov 2013 17:58:47 +0000 (12:58 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 21 Nov 2013 18:04:00 +0000 (13:04 -0500)
gdk/wayland/gdkwindow-wayland.c

index cc3ef9bf0129421d58c55d9636caa22c3fa2cfc1..5c2f121bda938bfcbf06ca9c73fb44941c758e9f 100644 (file)
@@ -997,6 +997,7 @@ gdk_wayland_window_create_xdg_surface (GdkWindow *window)
   impl->xdg_surface = xdg_shell_get_xdg_surface (display_wayland->xdg_shell, impl->surface);
   xdg_surface_add_listener (impl->xdg_surface, &xdg_surface_listener, window);
 
+  gdk_wayland_window_sync_transient_for (window);
   gdk_wayland_window_sync_title (window);
   xdg_surface_set_app_id (impl->xdg_surface, gdk_get_program_class ());
 }